from apps.db import db
from apps.db.base_class import BaseModel, ModelMixin


class Custom(BaseModel, ModelMixin):

    name = db.Column(db.String(100), index=True, nullable=False, unique=True, comment='客户名称')
    desc = db.Column(db.String(100), comment='客户详情')
    industry = db.Column(db.String(64), comment='客户行业')
    contacts = db.Column(db.String(64), comment='客户联系人')
    mobile = db.Column(db.String(12), comment='客户联系人手机')
